/*	See licence.txt for licence. Expd S-Expressions for D*/
module expd.test;
import expd.token;
import expd.itoken;
import expd._debug;
import expd.tree;
import expd.node;
import expd.treebuild;
import expd.semantic;
import expd.stack;
import std.stdio;
import extraepd.dexp;
version(nottest)
{

} else
{
    void main()
    {
        void parse(ref node!Token wa,Walker w)
        {
            writeln("&&",wa.sym ,w);
        }

        auto x = new ZTokenizer();
        TreeBuilder e = new TreeBuilder();
        auto walk = new DExpParser();
        e.setChannel(walk);
        x.outchannel = e;
        x.tokenize("(file g(set bootable 0) (set node 40s3)) ");
        writeln(walk.getTop().values[0].values[0].value.type);
    }
}
